package com.orange.jfreechart.demo;

import java.awt.Color;

public enum ColorEnum {

    GEEK_BLUE("GeekBlue", "极客蓝", new Color(91, 143, 240)),

    CYAN("Cyan", "翡翠绿", new Color(90, 216, 166)),

    SUNRISE_YELLOW("SunriseYellow", "旭日黄", new Color(246, 189, 22)),

    DUST_RED("DustRed", "薄暮红", new Color(232, 100, 82)),

    DAYBREAK_BLUE("DaybreakBlue", "破晓蓝", new Color(109, 200, 236)),

    GOLDEN_PURPLE("GoldenPurple", "罗兰紫", new Color(148, 95, 185)),

    SUNSET_ORANGE("SunsetOrange", "落日橘", new Color(255, 152, 69)),

    DARK_GREEN("DarkGreen", "天水青", new Color(30, 148, 147)),

    MAGENTA("Magenta", "桃花粉", new Color(255, 153, 195)),

    GREY("Grey", "商务灰", new Color(93, 112, 146));

    private String name;

    private String caption;

    private Color color;

    public String getName() {
        return name;
    }

    public String getCaption() {
        return caption;
    }

    public Color getColor() {
        return color;
    }

    ColorEnum(String name, String caption, Color color) {
        this.name = name;
        this.caption = caption;
        this.color = color;
    }
}
